package com.springboot.frame.web.page;

import java.io.Serializable;
import java.util.List;

/**
 * @Author 孟玖林
 * @Date 2019/6/3 10:29 AM
 * @Description
 */
public class PageResult<T> implements Serializable {
    private static final long serialVersionUID = 1L;
    private List<T> list;
    private PageInfo pageinfo;
    public PageResult(){}
    public PageResult(List<T> list, PageInfo pageinfo) {
        super();
        this.list = list;
        this.pageinfo = pageinfo;
    }
    public List<?> getList() {
        return list;
    }
    public void setList(List<T> list) {
        this.list = list;
    }
    public PageInfo getPageinfo() {
        return pageinfo;
    }
    public void setPageinfo(PageInfo pageinfo) {
        this.pageinfo = pageinfo;
    }
}
